/**   
* @Title: AddOptioner.java 
* @Package absfactory.Calculator 
* @Description: TODO(用一句话描述该文件做什么) 
* @author yangdechao   
* @date 2017-7-21 上午10:04:05 
* @version V1.0   
*/
package absfactory.Calculator;

/**
 * @author john
 *
 */
public class DivOptioner extends Operation  {
	public double getResult() {
		double num1 = getNum1();
		double num2 = getNum2();
		double result = 0;
		try {
			result = num1/num2;
		} catch (Exception e) {
			e.printStackTrace();
		}
        return result;
    }

}
